package com.health.db.model;

import java.io.Serializable;
import java.util.Date;

public class UserCardIssue implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -790123108728797711L;

	private Long recid;

    private Integer systemid;

    private Long cardid;

    private String cardIdno;

    private String password;

    private Integer cardtypeid;

    private String cardName;

    private Short runFlag;

    private String runStatus;

    private Short isUsedFlag;

    private Integer issuerid;

    private Integer distributorid;

    private Integer dealerid;

    private Long ownerid;

    private String ownerName;

    private Date activateDate;

    private Date failureDate;

    private String comment;

    private Date createDate;

    private Date createUserid;

    private Date updateDate;

    private Long updateUserid;
    
    private UserCardType userCardType;
    
    private int updateFlag = -1;
    

    /**
	 * @return the updateFlag
	 */
	public int getUpdateFlag() {
		return updateFlag;
	}

	/**
	 * @param updateFlag the updateFlag to set
	 */
	public void setUpdateFlag(int updateFlag) {
		this.updateFlag = updateFlag;
	}

	/**
	 * @return the userCardType
	 */
	public UserCardType getUserCardType() {
		return userCardType;
	}

	/**
	 * @param userCardType the userCardType to set
	 */
	public void setUserCardType(UserCardType userCardType) {
		this.userCardType = userCardType;
	}

	public Long getRecid() {
        return recid;
    }

    public void setRecid(Long recid) {
        this.recid = recid;
    }

    public Integer getSystemid() {
        return systemid;
    }

    public void setSystemid(Integer systemid) {
        this.systemid = systemid;
    }

    public Long getCardid() {
        return cardid;
    }

    public void setCardid(Long cardid) {
        this.cardid = cardid;
    }

    public String getCardIdno() {
        return cardIdno;
    }

    public void setCardIdno(String cardIdno) {
        this.cardIdno = cardIdno == null ? null : cardIdno.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getCardtypeid() {
        return cardtypeid;
    }

    public void setCardtypeid(Integer cardtypeid) {
        this.cardtypeid = cardtypeid;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName == null ? null : cardName.trim();
    }

    public Short getRunFlag() {
        return runFlag;
    }

    public void setRunFlag(Short runFlag) {
        this.runFlag = runFlag;
    }

    public String getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(String runStatus) {
        this.runStatus = runStatus == null ? null : runStatus.trim();
    }

    public Short getIsUsedFlag() {
        return isUsedFlag;
    }

    public void setIsUsedFlag(Short isUsedFlag) {
        this.isUsedFlag = isUsedFlag;
    }

    public Integer getIssuerid() {
        return issuerid;
    }

    public void setIssuerid(Integer issuerid) {
        this.issuerid = issuerid;
    }

    public Integer getDistributorid() {
        return distributorid;
    }

    public void setDistributorid(Integer distributorid) {
        this.distributorid = distributorid;
    }

    public Integer getDealerid() {
        return dealerid;
    }

    public void setDealerid(Integer dealerid) {
        this.dealerid = dealerid;
    }

    public Long getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(Long ownerid) {
        this.ownerid = ownerid;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName == null ? null : ownerName.trim();
    }

    public Date getActivateDate() {
        return activateDate;
    }

    public void setActivateDate(Date activateDate) {
        this.activateDate = activateDate;
    }

    public Date getFailureDate() {
        return failureDate;
    }

    public void setFailureDate(Date failureDate) {
        this.failureDate = failureDate;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Date createUserid) {
        this.createUserid = createUserid;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Long getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }
}